/* 清除默认内外边距 */
* {
  margin: 0;
  padding: 0;
}
a {
  display: inline-block;
  color: #666;
  /* 取消默认下划线 */
  text-decoration: none;
}
/* 清除浮动 */
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}

button,
input {
  /* 取消表单文本选中时产生的蓝色边框 */
  outline: none;
}
/*去掉列表前面的小点*/
li {
  list-style: none;
}
body {
  background-color: #cdcdcd;
}
.header {
  height: 50px;
  background-color: #323232;
}
@media screen and (min-width: 620px) {
  section {
    width: 600px;
    padding: 0 10px;
    margin: 0 auto;
  }
}
.header label {
  float: left;
  width: 100px;
  height: 50px;
  font-size: 24px;
  color: #fff;
  line-height: 50px;
}
.header input {
  float: right;
  width: 350px;
  height: 26px;
  margin-top: 12px;
  border-radius: 5px;
  border: none;
  padding-left: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.45) inset;
}

.doing,
.done {
  float: right;
  background-color: #e6e6fa;
  border-radius: 10px;
  padding: 0 5px;
  font-size: 14px;
  height: 20px;
  margin-top: 5px;
}
h2 {
  margin: 20px 0;
}

.todo-item {
  background-color: #fff;
  position: relative;
  height: 32px;
  border-radius: 3px;
  border-left: 5px solid #629a9c;
}
li {
  margin: 10px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
}
.deal .todo-item > input {
  position: absolute;
  width: 21px;
  height: 21px;
  left: 14px;
  top: 50%;
  margin-top: -10px;
}
a {
  position: absolute;
  right: 7px;
  top: 0;
  margin-top: 5px;
  border: 6px double #fff;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  text-align: center;
  line-height: 8px;
  background-color: #ccc;
  font-weight: bold;
  color: #fff;
}
p {
  width: 505px;
  margin-left: 46px;
  height: 100%;
  line-height: 32px;
}
.doneList {
  opacity: 0.5;
}
/* 底部清除按钮 */
.clear {
  margin-top: 60px;
  border-radius: 6px;
}
.btn {
  display: block;
  margin: 0 auto;
  border: none;
  background-color: #323232;
  color: #fff;
  width: 80px;
  height: 40px;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
}
